<template>
  <el-carousel :interval="4000" type="card" height="200px">
    <el-carousel-item v-for="item in items" :key="item">
      <img :src="item.src" alt="carousel image" style="width: 100%; height: 100%;">
    </el-carousel-item>
  </el-carousel>
</template>

<script>
export default {
  name: 'CarouselComponent',
  data() {
    return {
      items: [
        { src: 'https://placehold.co/600x400' },
        { src: 'https://placehold.co/600x400' },
        { src: 'https://placehold.co/600x400' }
      ]
    };
  },
};
</script>